<div class="lastonlines content">
    <?if($data->profile->lastonlines):?>
    <?
    foreach ($data->profile->lastonlines as $p)
        include 'apps/profile/template/mini.html';
    ?>
<?endif;?>
<div class="clear"></div>
</div>